how to calculate log and antilog using table